package cn.rui.pojo.vo;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Set;

/**
 * 接收聊天信息类
 * @author 徽州大都督
 * @date 2021/6/16
 */
@ApiModel(description = "接收聊天信息类",value = "接收聊天信息类")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ChatBean implements Serializable {

    //1返回发送消息  2返回在线用户
    private Integer status;

    private Object text;

    private String date;

    private String name;

    private String img;

    private Set<String> onlineName;
}
